package com.yb.core.constant;

/**
 * Copyright (C), 2022-2022, 姚兵
 * Author: 32210
 * Date: 2022/11/13 19:49
 * FileName: RedisConstant
 * Description:
 */
public class RedisConstant {
    public static final String AUTH_USER_KEY="auth:user:%s:%s";//key=auth:user:username:userid，value=访问token

    public static final String AUTH_TOKEN_KEY="auth:user:token:%s";//key=auth:user:token:sdfbxzfwwrtewewtq13123 value=用户详情

    public static final String MOBILE_VERIFY_CODE = "auth:user:verifycode:%s" ;//auth:user:verifycode:{mobile}

    public static final String MOBILE_VERIFY_IMG_CODE = "auth:user:verifyimgcode:%s" ;//auth:user:verifycode:{mobile}
}
